package com.masterclient.app.modules.aftersale.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.aftersale.AfterSaleBean;
import com.eoner.baselibrary.bean.aftersale.RefundBtnBean;

/**
 * 作者：sean
 * 创建时间：2017/8/2 01:06
 * 功能说明：
 */

public interface AfterSaleDetailContract {

    interface View extends BaseView {
      void showAfterSaleInfo(AfterSaleBean.DataBean dataBean);
        void closeAfterSaleSuccess();
        void failed(String msg);
        void showRefundBtn(RefundBtnBean refundBtnBean);
        void getRefundBtnFail(String msg);
    }


    abstract static class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getAfterSaleDetail(String order_id, String order_product_id);

        public abstract void closeAfterSale(String order_product_id);

        public abstract void getRefundBtn(String refund_id);

    }

}